﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ITS.DAL.ForTesting;
using ITS.DAL.DynamicContent;
using System.Threading;
using ITS.DAL.Concrete.EF.DynamicContent;

namespace ITS.DAL.Concrete.EF.ForTesting
{
    public class EFForTestingRepository: IForTestingRepository
    {
        public string TestMessage
        {
            get
            {
                return "This is a test message from EFForTestingRepository";
            }
            set
            {
                throw new NotImplementedException();
            }
        }


        public string TestMessage2
        {
            get
            {
                IPageContentRepository repository = new EFPageContentRepository();
                string strCurrentCulture = Thread.CurrentThread.CurrentCulture.ToString();
                return repository.GetPageContentDescription("About", strCurrentCulture).Content;
            }
            set
            {
                throw new NotImplementedException();
            }
        }
    }
}
